import axios from './createAxios'

export const getGoods = params => { return axios.get('param/selectByGoodsNum', {params: params}) }

export const queryPrice = params => { return axios.get('goods/queryPrice', {params: params}) }

export const addOrder = params => { return axios.get('order/addOrder', {params: params}) }

export const getBanner = params => { return axios.get('image/getBanner', {params: params}) }

export const getDetails = params => { return axios.get('image/getDetails', {params: params}) }

export const computePrice = params => { return axios.get('goods/computePrice', {params: params}) }

